/**
 * Created by CodeTlan.
 * User: Ing. Miguel Salas
 * Date: 3/19/12
 * Time: 2:49 PM
 */
Ext.define('Ctc.view.Form', {
    extend: 'Ext.form.Panel',
    bodyPadding:5,
    autoScroll: true,
    defaults: {
        anchor: '100%',
        labelAlign:'top',
        allowBlank:false

/*        listeners:{
            change: function(field, newVal, oldVal){
                alert(newVal);
            }
        }
*/
    },
    defaultType: 'textfield',
    initComponent: function(){
        this.items=this.buildItems();
        this.buttons=this.buildButtons();
        this.callParent(arguments);
    },
    buildItems:Ext.emptyFn,
    buildButtons:Ext.emptyFn
});